<div class="col-xs-2" id="nav_left">
    {%
        set leftNavItems = [
            ['title': '活动列表', 'url': url.get('activity/list',['activity_state':1]), 'active': left_nav_type == 'list', 'icon': '<i class="fa fa-list fa-fw"></i>'],
            ['title': '添加新活动', 'url': url.get('activity/add'), 'active': left_nav_type == 'add', 'icon': '<i class="fa fa-plus fa-fw"></i>']
        ]
    %}
    {% if left_nav_type == 'update' %}
        {% do array_push(leftNavItems, ['title': '更新基础信息', 'url': '###', 'active': left_nav_type == 'update', 'icon': '<i class="fa fa-pencil fa-fw"></i>']) %}
    {% endif %}
    {% if left_nav_type == 'commentList' %}
        {% do array_push(leftNavItems, ['title': '查看活动回复', 'url': '###', 'active': left_nav_type == 'commentList', 'icon': '<i class="fa fa-pencil fa-fw"></i>']) %}
    {% endif %}
    {{ partial("module/left_nav", ['title': '活动管理', 'items': leftNavItems]) }}

</div>